﻿
using System;
using XinjeMesProgram.Entities.User;

namespace MesAPI.Extensions.AuthContext
{
    /// <summary>
    /// 登录用户上下文
    /// </summary>
    public class AuthContextUser
    {
        /// <summary>
        /// 用户GUID
        /// </summary>
        public string UserID { get; set; }
        /// <summary>
        /// 登录名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string LoginName { get; set; }
        /// <summary>
        /// 用户类型
        /// </summary>
        public UserType UserType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string RegGroupId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string RoleCode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string DepName { get; set; }

        /// <summary>
        /// 
        /// </summary>

        public string DepId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string? GroupType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string? ProductGroup { get; set; }

    }
}